<template>
  <div class="main_right_top" ref="leftBottom">
    <div class="main_left_bottom_top">
      <span class="title">权益金使用率</span>
    </div>
    <div class="box_mian_top">
      <div class="item">
        <span class="min_title">环形进度条标题</span>
        <el-progress type="circle" :percentage="97.9"></el-progress>
        <!-- text-inside
          show-text -->
      </div>
      <div class="item">
        <div class="top">
          <div class="left"></div>
          <div class="right">
            <span>已使用金额</span>
            <h1>1,413,279</h1>
          </div>
        </div>
        <div class="middle">
          <img
            src="../../../assets/I9AosMLx_1583821031879_5GQ9sjxPa.png"
            alt=""
            width="100%"
          />
        </div>
        <div class="bottom">
          <div class="left"></div>
          <div class="right">
            <span>已使用金额</span>
            <h1>1,413,279</h1>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "main_left_bottom",
  props: {
    width: { type: String, default: "100%" },
    heigth: { type: String, default: "100%" },
    data: {
      type: Array,
      default: () => {
        return [];
      },
    },
  },
  data() {
    return {
      percentage: 97.9,
      colors: [
        { color: "#f56c6c", percentage: 20 },
        { color: "#e6a23c", percentage: 40 },
        { color: "#5cb87a", percentage: 60 },
        { color: "#1989fa", percentage: 80 },
        { color: "#6f7ad3", percentage: 100 },
      ],
    };
  },
  created() {},
  mounted() {},

  methods: {
    trunCss() {},
  },
};
</script>

<style scoped lang="css">
* {
  margin: 0;
  padding: 0;
}
.main_right_top {
  height: 100%;
  width: 100%;
}
.main_left_bottom_top {
  height: 46px;
  background-image: url("../../../assets/5r678Fx1_1583817896809_okN8qlk6u.png");
  background-repeat: no-repeat;
  background-size: 729px 46px;
}
.main_right_top .title {
  font-family: SourceHanSansCN-Bold;
  font-size: 20px;
  font-weight: normal;
  text-align: left;
  letter-spacing: 4px;
  line-height: 44px;
  color: #fff;
  text-shadow: rgb(84 76 255) 0px 0px 8px;
}
.box_mian_top {
  display: flex;
  min-height: 200px;
  flex-wrap: nowrap;
  padding: 10px;
}
.box_mian_top .item {
  /* flex: 1; */
  padding: 10px 10px;
  margin: 5px;
  display: flex;
  flex-direction: column;
}
.min_title {
  color: rgb(255, 255, 255);
  background-color: #18153d;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}
.box_mian_top .item .top,
.box_mian_top .item .bottom {
  flex: 1;
  text-align: center;
  padding: 10px;
  display: flex;
}
.box_mian_top .item .top .left {
  flex: 1;
}
.box_mian_top .item .top .right {
  flex: 4;
}
.box_mian_top .item .top .left {
  background-image: url("../../../assets/GG_FacOK_1583821129459_hPOCzi7Ii.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0;
  min-width: 60px;
}
.box_mian_top .item .top .right {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  color: #fff;
}
.box_mian_top .item .top .right span {
  flex: 1;
  color: #7672b8;
  text-align: center;
}
.box_mian_top .item .top .right h1 {
  flex: 1;
  color: #c8c6f7;
}
.box_mian_top .item .bottom .left {
  flex: 1;
}
.box_mian_top .item .bottom .right {
  flex: 4;
}
.box_mian_top .item .bottom .left {
  background-image: url("../../../assets/zo84uiN-_1583821144637_KdenmIFyX.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0;
  min-width: 60px;
}
.box_mian_top .item .bottom .right {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  color: #fff;
}
.box_mian_top .item .bottom .right span {
  flex: 1;
  color: #7672b8;
  text-align: center;
}
.box_mian_top .item .bottom .right h1 {
  flex: 1;
  color: #c8c6f7;
}
</style>
